<!-- start module contents -->
<table border="0" width="100%" cellpadding='5' align='center'>
  <tr>
    <td align='left'><img src='<{$xoops_url}>/modules/newbb/images/folder.gif' alt='' /> <a href="javascript:<{ajax_update update_id='content' url='actions/index_action.php' method='get'  params=''}>"><{$lang_forum_index}></a><br />&nbsp;&nbsp;<img src='<{$xoops_url}>/modules/newbb/images/folder.gif' alt='' /> <a href="javascript:<{ajax_update update_id='content' url='actions/viewforum_action.php' method='get'  params="forum=$forum_id"}>"><{$forum_name}></a>
<br />&nbsp;&nbsp;&nbsp;&nbsp;<img src='<{$xoops_url}>/modules/newbb/images/folder.gif' alt='' /> <b><{$topic_title}></b></td><td align='right'><{$forum_post_or_register}></td>
  </tr>
</table>

<br />

<!-- start topic thread -->
<table cellpadding="4" width="100%">
  <tr>
    <td align="left"><a id="threadtop"></a><a href="javascript:<{ajax_update update_id='content' url='actions/viewtopic_action.php' method='get'  params="viewmode=thread&order=$order_current&topic_id=$topic_id&forum=$forum_id"}>"><{$lang_threaded}></a> | <a href="javascript:<{ajax_update update_id='content' url='actions/viewtopic_action.php' method='get'  params="viewmode=flat&order=$order_other&topic_id=$topic_id&forum=$forum_id"}>"><{$lang_order_other}></a></td>
    <td align="right"><a href="javascript:<{ajax_update update_id='content' url='actions/viewtopic_action.php' method='get'  params="viewmode=flat&order=$order_current&topic_id=$topic_id&forum=$forum_id&move=prev&topic_time=$topic_time"}>"><{$lang_prevtopic}></a> | <a href="javascript:<{ajax_update update_id='content' url='actions/viewtopic_action.php' method='get'  params="viewmode=flat&order=$order_current&topic_id=$topic_id&forum=$forum_id&move=next&topic_time=$topic_time"}>"><{$lang_nexttopic}></a> | <a href="#threadbottom"><{$lang_bottom}></a></td>
  </tr>
</table>
<table cellspacing="1" class="outer">
  <tr align='left'>
    <th width='20%'><{$lang_poster}></th>
    <th><{$lang_thread}></th>
  </tr>
  <{foreach item=topic_post from=$topic_posts}>
  <{include file="db:newbb_thread.html" topic_post=$topic_post}>
  <{/foreach}>
  <tr class="foot" align="left">
    <td colspan="2" align="center"><{$forum_page_nav}> </td>
  </tr>
</table>
<table cellpadding="4" width="100%">
  <tr>
    <td align="left"><a id="threadbottom"></a><a href="javascript:<{ajax_update update_id='content' url='actions/viewtopic_action.php' method='get'  params="viewmode=thread&order=$order_current&topic_id=$topic_id&forum=$forum_id"}>"><{$lang_threaded}></a> | <a href="javascript:<{ajax_update update_id='content' url='actions/viewtopic_action.php' method='get'  params="viewmode=flat&order=$order_other&topic_id=$topic_id&forum=$forum_id"}>"><{$lang_order_other}></a></td>
    <td align="right"><a href="javascript:<{ajax_update update_id='content' url='actions/viewtopic_action.php' method='get'  params="viewmode=flat&order=$order_current&topic_id=$topic_id&forum=$forum_id&move=prev&topic_time=$topic_time"}>"><{$lang_prevtopic}></a> | <a href="javascript:<{ajax_update update_id='content' url='actions/viewtopic_action.php' method='get'  params="viewmode=flat&order=$order_current&topic_id=$topic_id&forum=$forum_id&move=next&topic_time=$topic_time"}>"><{$lang_nexttopic}></a> | <a href="#threadtop"><{$lang_top}></a></td>
  </tr>
</table>
<!-- end topic thread -->

<br />

<table cellspacing="0" class="outer" width="100%">
  <tr class='foot'>
    <td align='left'> <{$forum_post_or_register}></td>
    <td align='right'><{$forum_jumpbox}> </td>
  </tr>
  <tr class='foot' valign="bottom">
    <{if $viewer_is_admin == true}>
    <td colspan='2' align='center'>&nbsp;<{$topic_lock_image}>&nbsp;<{$topic_move_image}>&nbsp;<{$topic_delete_image}>&nbsp;<{$topic_sticky_image}>&nbsp;</td>
    <{else}>
    <td colspan='2'>&nbsp;</td>
    <{/if}>
  </tr>
</table>
<{include file='db:system_notification_select.html'}>
<!-- end module contents -->